package com.rxyb.authority;

import com.rxyb.redis.annotation.EnableBusiRedisServer;
import com.rxyb.security.annotation.EnableBusiResourceServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author YJH
 * @version 1.0
 * @description
 * @date 2020/5/13  11:32
 */
@EnableCaching
@SpringBootApplication
@EnableDiscoveryClient
@EnableBusiResourceServer
@EnableBusiRedisServer
@MapperScan(value = "com.rxyb.authority.db.dao")
public class CooperateAuthorityApplication {

    public static void main(String[] args) {
        SpringApplication.run(CooperateAuthorityApplication.class, args);
    }
}
